package com.zwb.boot.dto;

import com.zwb.boot.entity.Dish;
import com.zwb.boot.entity.DishFlavor;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author 头发又黑又长
 * @Date 2022/7/22 21:09
 * @email zwb15083976291@163.com
 */
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Data
public class DishDto extends Dish implements Serializable {

    private List<DishFlavor> flavors;

    private String categoryName;

    private Integer copies;


}
